<div class="text_area">
	{if $articles}
		{foreach from=$articles item='article'}
			<h2><a href="{$article.url}">{$article.title}</a></h2>
			{if $article.perex}<p>{$article.perex}</p>{/if}
		{/foreach}
		{if $pages}
			<div class="pager">
				{foreach from=$pages item='page' name='pager'}
					{if $actualState.page == $page}
						<strong>{$page}</strong>
					{elseif $page == 1 && !$actualState.page}
						<strong>{$page}</strong>
					{else}
						<a href="{$actualState.id}/strana-{$page}.html">{$page}</a>
					{/if}
				{/foreach}
			</div>
		{/if}
	{else}
		<p>Žiadne články</p>
	{/if}
</div>